Platform Explorer / Nuxeo Platform 2023.19

Operation Context.PopDocument (Pop Document)

Description

Restore the last saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the last pushed document.
Operation id Context.PopDocument
AliasesDocument.Pop
Category Push & Pop
Label Pop Document
Requires
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.stack.PopDocument
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Context.PopDocument",
  "aliases" : [ "Document.Pop" ],
  "label" : "Pop Document",
  "category" : "Push & Pop",
  "requires" : null,
  "description" : "Restore the last saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the last <i>pushed</i> document.",
  "url" : "Context.PopDocument",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}